Carbon


PBHGetVolParmsAsync

Header: Files.h Carbon status: Supported

Returns information about the characteristics of a volume.

OSErr PBHGetVolParmsAsync (
    HParmBlkPtr paramBlock
);
paramBlock

A pointer to a parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

You specify a volume (either by name or by volume reference number) and a buffer size, and PBHGetVolParmsAsync fills in the volume attributes buffer. You can use a name (pointed to by the ioNamePtr field) or a volume specification (contained in the ioVRefNum field) to specify the volume.

AVAILABILITY

Supported in Carbon. Available in Mac OS 8.1 and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)